package com.dai.rpc.constant;

public class MyRpcConstants {

    // 前缀长度（消息头长度）
    public final static int TOTAL_LENGTH = 16;
    public final static byte[] RPC_MAGIC_TABLE = new byte[]{(byte)'j',(byte)'x',(byte)'a',(byte)'u'};
    public final static byte RPC_VERSION = 1;
    public final static String RPC_ZK_GROUP = "myRPC";
    public final static String RPC_PING = "PING";
    public final static String RPC_PONG = "PONG";
}
